Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Tue, 14 Feb 2023 22:28:59 +0000 (22:28 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 14 Feb 2023 22:28:59 +0000 (22:28 +0000)
commitb1404862a721bccc9f7c76368ad19709be97e796
tree562d50f99fc713249673c75b12366e7c18ef4fbd
parent17777a3c6a89f222b4dc0cf593867f44da664ddc
Don't fail documentation build on examples exceptions

If example code outputs an error when run,
ipython (ipython:: blocks) now fails the whole build by default,
and tools/nbgenerate.py (.ipynb files) now leaves out that file
(leaving a broken link in the examples index).

As some examples use downloaded data and are hence expected to be
unrunnable on a Debian buildd, this instead keeps them
(::ipython with error output, .ipynb without output).

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_ignore_errors.patch
docs/Makefile
docs/source/conf.py